﻿using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DrawVisualDemo01
{
    public class MainViewModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler? PropertyChanged;


        private ObservableCollection<RadioButtonShowModel> items;

        public ObservableCollection<RadioButtonShowModel> Items
        {
            get { return items; }
            set { items = value;
            }
        }

        public MainViewModel()
        {
            items = new ObservableCollection<RadioButtonShowModel>();
            items.Add(new RadioButtonShowModel() { Header = "增加方格", Icon = "\ue639" });
            items.Add(new RadioButtonShowModel() { Header = "移动方格", Icon = "\ue61a" });
            items.Add(new RadioButtonShowModel() { Header = "删除方格", Icon = "" });
            items.Add(new RadioButtonShowModel() { Header = "选择多个方格", Icon = "" });
        }
    }
}
